package com.cgwx.service;

import com.cgwx.entity.FsTransmitDetail;
import com.cgwx.entity.FsTransmitRecord;
import org.json.JSONArray;
import org.springframework.transaction.annotation.Transactional;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;

public interface IFsTransmitDetailService {

    List<FsTransmitDetail> getFsTransmitDetail(FsTransmitDetail fsTransmitDetail);

    @Transactional
    boolean updateFsTransmitDetail(String taskId, Map<String, String> map);

    @Transactional
    boolean completeFsTransmitDetail(String taskId, Map<String, String> map, LocalDateTime time, String path);

    boolean insertFsTransmitDetail(FsTransmitRecord fsTransmitRecord, String jsonString);
}
